package com.yifengm.service.impl;

import com.yifengm.mapper.LoginMapper;
import com.yifengm.pojo.Admin;
import com.yifengm.service.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("loginService")
public class LoginServiceImpl implements LoginService {

    @Autowired
    private LoginMapper loginMapper;
    @Override
    public Admin Login(String name, String password) {
        return loginMapper.Login(name,password);
    }
}
